import request from "@/utils/request";

interface IPage {
  pageSize: number;
  pageNum: number;
}

// 资讯列表
export function listNews(data: IPage) {
  return request.get({
    url: "/app/getHotspotList",
    data,
  });
}

// 公告列表
export function listNotice(data: IPage) {
  return request.get({
    url: "/app/getNoticeList",
    data,
  });
}
